#include <iostream>
#include <bitset>

#include "concat.hpp"

using namespace std;

int main()
{
  cout << bitset<64>(concat64(0b1,0b11).val) << endl;
  cout << bitset<64>(concat64(0b1,0b11,0b111,0b1111).val) << endl;
  cout << long2double(0b1111, 0) << endl;
  cout << long2double(0b1111, 2) << endl;
  cout << long2double(0b1111, 4) << endl;
  cout << long2double(-0b1111, 2) << endl;
  return 0;
}
